From 9f815edbf9583493c9686b923e9f1f6b9ac70e8c Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Mon, 20 Jan 2014 23:25:42 -0500 Subject: [PATCH] docs: add docs for GtkCellLayoutIface --- gtk/gtkcelllayout.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h index 8f3ee49efe..a0e17d509f 100644 --- a/gtk/gtkcelllayout.h +++ b/gtk/gtkcelllayout.h @@ -55,10 +55,32 @@ typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout, GtkTreeIter *iter, gpointer data); +/** + * GtkCellLayoutIface: + * @pack_start: Packs the cell into the beginning of cell_layout. + * @pack_end: Adds the cell to the end of cell_layout. + * @clear: Unsets all the mappings on all renderers on cell_layout and + * removes all renderers from cell_layout. + * @add_attribute: Adds an attribute mapping to the list in + * cell_layout. + * @set_cell_data_func: Sets the #GtkCellLayoutDataFunc to use for + * cell_layout. + * @clear_attributes: Clears all existing attributes previously set + * with gtk_cell_layout_set_attributes(). + * @reorder: Re-inserts cell at position. + * @get_cells: Get the cell renderers which have been added to + * cell_layout. + * @get_area: Get the underlying #GtkCellArea which might be + * cell_layout if called on a #GtkCellArea or might be NULL if no + * #GtkCellArea is used by cell_layout. + */ struct _GtkCellLayoutIface { + /*< private >*/ GTypeInterface g_iface; + /*< public >*/ + /* Virtual Table */ void (* pack_start) (GtkCellLayout *cell_layout, GtkCellRenderer *cell, -- 2.30.2